<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // let goods = {
    //   name: '杀神者',
    //   num: '001',
    //   weight: '80kg',
    //   address: '江西省庐山市管家村'
    // }
    // console.log(goods.name);
    // console.log(goods.address);
    let students = [
      { name: '小米', age: 18, gender: '男', address: '河北' },
      { name: '小华', age: 18, gender: '男', address: '江西' },
      { name: '小萝莉', age: 18, gender: '女', address: '上海' },
      { name: '小美女', age: 18, gender: '女', address: '北江' },
    ]
    for (let i = 0; i < students.length; i++) {
      document.write(students[i].name)
      document.write(students[i].age)
      document.write(students[i].gender)
      document.write(students[i].address)
    }

  </script>
</body>

</html>